package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;

import java.io.Serializable;
/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
@TableName(value = "ath_role_basic")
public class RoleBasicEntity extends BasicFieldEntity implements Serializable {
    @TableField(value = "role_name")
    private String roleName;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "is_admin")
    private boolean admin;

    @TableField(value = "created_last_name")
    private String createdLastName;

    @TableField(value = "updated_last_name")
    private String updatedLastName;

    @TableField(value = "role_type")
    private String roleType;
}
